﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="web.main" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>物业管理信息系统</title>
   <%-- <link href="css/main.css" type="text/css" rel="Stylesheet" />--%>
    <script src="js/tree.js" type="text/javascript"></script>

    <script type="text/javascript">
        function MenuClick() {
            var innerText = event.srcElement.innerText;

            if (innerText != "") {

                value = event.srcElement.href;
                if (value == null) return false;

                if (value.indexOf("'") != -1) {

                    var ls = value.slice(value.indexOf("'") + 1, value.length + 1);
                    var lss = ls.slice(0, ls.indexOf("'"));
                    if (lss == 'TreeView_Menu') return false;
                }

                var obj = document.getElementById("main");
                if (obj != null) {
                    obj.innerHTML = "<iframe id='iframe_win' name= 'iframe_win' frameborder=0 margin=0 width=100% height=100%  allowTransparency='true' scrolling=no src=" + lss + "></iframe>";
                    document.frames('iframe_win').location.reload(); 

                    return false;
                }
            }
        }
    </script>
    <style type="text/css">
        *
        {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        html
        {
            height: 100%;
            overflow: hidden;
            background: #edf5ff;
        }
        body
        {
            height: 100%;
            overflow: hidden;
            background: #edf5ff;
            font-family: 微软雅黑, sans-serif;
            font-size: small;
        }
        div
        {
            background: #edf5ff;
            line-height: 1.6;
        }
      
        .top
        {
            position: absolute;
            left: 0px;
            top:  0px;
            right:10px;
            height:52px;
          
        }
        .navmenu
        {
            position: absolute;
            left: 0px;
            top: 53px;
            bottom: 0px;
            width: 172px;
           
        }
        .main
        {
            position: absolute;
            left: 174px;
            top: 53px;
            bottom: 0px;
            right: 0px;
            overflow: auto;
            background-color: #edf5ff;
        }
        .main iframe
        {
            width: 100%;
            height: 100%;
        }
        /*---ie7---*/
			
		     html { *padding:0px 0px;}
			.top { *height:52px; *margin-top:0px;  *position:relative; *top:0; *right:0; *bottom:0; *left:0;}
			.navmenu { *height:100%; *float:left; *width:172px; *position:relative; *top:0; *right:0; *bottom:0; *left:0;}
			.main { *height:100%;  *position:relative; *top:0; *right:0; *bottom:0; *left:0; _background-color:#edf5ff;}
		
        
        .style1
        {
            width: 273px;
        }
		
        
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="top" class="top">
        <table style="width: 100%; height: 52px;" id="t_topbar" cellpadding="0" cellspacing="0">
            <tr>
                <td style="background-image: url('images/main_05.gif')" class="style1">
                    &nbsp;
                </td>
                <td style="background-image: url('images/main_07.gif')" valign="top">
                    &nbsp; &nbsp;
                </td>
            </tr>
        </table>
    </div>
    <div id="navmenu" class="navmenu">
        <div style="background-image: url('images/main_25.gif'); background-repeat: repeat-x;
            overflow: auto;">
        </div>
        <asp:TreeView ID="MainMenu" runat="server" Width="100%" Height="100%" ShowLines="True">
        </asp:TreeView>
    </div>
    <div id="main" class="main">
    <%--   <iframe frameborder="0" src="houseMgr/BuildHouseMgr.aspx"></iframe>--%>
    </div>
    </form>
</body>
</html>
